import React from "react";
import Upload from "components/upload/index";

export default {
  key: "upload",
  name: "upload 组件",
  author: "中控",
  description: "附件及图片上传",
  isExampleFull: true,
  api: [
    {
      title: "API",
      data: [],
      description: "",
    },
  ],
  example: [
    {
      title: "基础用法",
      description: "参数跟::antd::的::Upload::一致。",
      state: {
        data: [],
        selectedRowKeys: [],
      },
      getMethod: (context) => {
        return {};
      },
      getContent: (context) => {
        return <Upload />;
      },
    },
  ],
};
